<template>
  <div class="h-100">
    <index-header />
    <component :is="menuLevel" />
  </div>
</template>

<script>
import IndexHeader from '../component/IndexHeader.vue'
import SecondLevel from '../mould/second-level'
import ThreeLevel from '../mould/three-level'
export default {
  name: 'Test',
  components: {
    IndexHeader,
    SecondLevel,
    ThreeLevel
  },
  data() {
    return {
      menuLevel: SecondLevel
    }
  }
}
</script>
<style lang="scss" scoped>
.h-100 {
  background: url(~@/assets/img/bg-img.png) no-repeat;
}
</style>
